package com.woniu.order.service;

import com.woniu.common.utils.PageData;
import com.woniu.common.utils.ResponseData;
import com.woniu.order.dto.ZcxApplicationDto;
import com.woniu.order.pojo.ZcxOrderApplication;
import com.woniu.order.pojo.ZcxUpdateRecord;
import com.woniu.order.pojo.dto.ZcxCustomerOrderDTO;
import com.woniu.order.pojo.ZcxCustomerOrder;
import com.baomidou.mybatisplus.extension.service.IService;


/**
* @author 张
* @description 针对表【zcx_customer_order(直接客户订单表)】的数据库操作Service
* @createDate 2024-11-22 16:29:48
*/
public interface ZcxCustomerOrderService extends IService<ZcxCustomerOrder> {

    /**
     * 分页查询
     * @param pageData
     * @return
     */
    ResponseData<?> queryList(PageData<ZcxCustomerOrderDTO> pageData);


    ResponseData<?> queryAllProduct();


    ResponseData<?> addApplication(ZcxApplicationDto zcxApplicationDto);


    ResponseData<?> queryOrderApplicationList(PageData<ZcxOrderApplication> pageData);

    ResponseData<?> approve(ZcxUpdateRecord zcxUpdateRecord);

    ResponseData<?> createSnowId();
}
